package md;

import java.io.IOException;
import java.net.MalformedURLException;

import com.overzealous.remark.Remark;

public class HTML2MD {
	/**
	 * /dullsky/WebRoot/WEB-INF/lib/commons-cli-2.jar
	 * /dullsky/WebRoot/WEB-INF/lib/commons-lang3-3.0.jar
	 * /dullsky/WebRoot/WEB-INF/lib/jsoup-1.9.2.jar
	 * /dullsky/WebRoot/WEB-INF/lib/remark-1.0.0-SNAPSHOT.jar
	 * 
	 * @param args
	 * @throws MalformedURLException
	 * @throws IOException
	 */
	public static void main(String[] args) throws MalformedURLException, IOException {
		Remark remark = new Remark();
		String htmlInput = "<h3>dsds</h3>";
		String markdown = remark.convertFragment(htmlInput);
		System.out.println(markdown);
	}
}
